package com.woniu.springbootrbac.service;

import com.woniu.springbootrbac.vo.UserAo;
import com.woniu.springbootrbac.entity.SysUser;
import com.woniu.springbootrbac.dto.UserDto;

import java.util.List;

public interface UserService {

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    SysUser selectByTel(String tel);

    SysUser login(UserDto dto);

    List<UserAo> selByLike(UserDto dto);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

}
